package com.pig4cloud.pig.village.land.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.pig4cloud.pig.village.api.dto.LandTotalDTO;
import com.pig4cloud.pig.village.api.entity.Land;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author limbray.li
 * @date 2021/6/19
 */
@Mapper
public interface LandMapper extends BaseMapper<Land> {
	List<LandTotalDTO> groupTotal();
	LandTotalDTO oneTotal(@Param("teamId") Long teamId);
}
